import { http } from '@/utils'

export const getOfficersRecordsApi = (query?: any) =>
  http.get({
    url: '/internal_affairs_manage/get_officers_records',
    method: 'GET',
    query
  })

export const uploadApi = (data: any) => {
  return http.post({
    url: '/upload/upload',
    method: 'GET',
    data
  })
}
